﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using HZ.Data;

using System.Data;
using System.Data.SqlClient;
using HZ.BidSystem.Model;
namespace HZ.BidSystem.DAL
{
    public class DAL_Configuration
    {
        public static IList<string> GetConfigurationKeys()
        {
            var sql = "SELECT KeyId FROM dbo.TB_Configuration";
            var dt = DbHelperFactory.Create().ExecuteTable(sql);
            IList<string> list = new List<string>();
            foreach (DataRow item in dt.Rows)
            {
                list.Add(Convert.ToString(item["KeyId"]));

            }
            return list;
        }

       
    }
}
